﻿namespace _508ComplianceValidator
{
    public class Rule
    {
        /// <summary>
        /// Gets or sets which control this applies to.
        /// </summary>
        /// <value>
        /// The applies to control.
        /// </value>
        public string AppliesToControl { get; set; }
        
        /// <summary>
        /// Gets or sets the attribute to check.
        /// </summary>
        /// <value>
        /// The attribute to check.
        /// </value>
        public string AttributeToCheck { get; set; }
        
        /// <summary>
        /// Gets or sets the rule condition.
        /// </summary>
        /// <value>
        /// The rule condition.
        /// </value>
        public RuleType RuleCondition { get; set; }
    }

    public enum RuleType
    {
        CheckForPresence,
        CheckForExternalization
    }
}